package mest.service.Modeling;

import mest.entity.apart_file;
import mest.entity.car_file;
import mest.util.ResultObj;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description
 * @auther Machenike
 * @create 2019-11-15 23:10
 */
public interface IcarFileService {
    //    1.新增功能
    ResultObj insertCarFile(car_file ct, String theirDb)   ;

    //   2.基本查询-数量
    int selectCount(String theirDb);

    //   3.基本查询-分页
    List<car_file> findCarFilePage(int index, int pageSize,String theirDb);


    //1.删除方法
    int delModel(Integer id,String theirDb);
    //2.基本查询-分页-模糊查询-过滤删除订单
    List<car_file> queryAll(Integer index,
                            Integer pageSize, String record,String theirDb);
    //3.查询总数
    int findCount(String record,String theirDb);
    //4.更新方法
    int updateByOne(car_file record,String theirDb);

}
